home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / sunrise / clasfy19.zip / EXCHANGE.BAT < prev    next >
DOS Batch File  |  1992-10-12  |  3KB  |  73 lines

  1.         HOW TO SETUP AS A HUB AND DO CLASSIFIED ADS EXCHANGES
  2.         -----------------------------------------------------
  3.  
  4. Below, is a fully working batch file complete with comments, for the group 
  5. hub. There are a few very important things to remember in running the 
  6. Classified Ads as a hub. 
  7.  
  8. FIRST, make sure all your nodes have the same categories or mass confusion 
  9. will result. SECOND, it is highly advisable that you and your nodes use a 
  10. unique name (representative of your board) instead of the generic 
  11. "Classify.exp", for example Sun.exp would be the name for Sunrise BBS. 
  12. THIRD, this batch file (Exchange.bat) is best run during your event each 
  13. night, rather than each time the door is executed, especially if you are 
  14. connected to boards that are long distance. The commands for your nightly 
  15. event batch file would be:
  16.  
  17. CD\CLASSIFY
  18.    CLPURGE CLASSIFY.CFG
  19.    CALL EXCHANGE.BAT
  20.    DEL CLASSIFY.EXP
  21. CD\
  22.  
  23. Exchange.bat would be located in your classified directory and would be the
  24. batch file listed below. You may feel free to remove the comments and use 
  25. the batch file below after modification for your system drive/path/name 
  26. specifications. 
  27. _______________________________________________________________________________
  28. BATCH FILE EXAMPLE FOR THE HUB USING THE CLASSIFIED ADS EXCHANGE PROGRAM
  29.  
  30.  
  31.  
  32. @echo off
  33. del I:\db\files\classify.exp
  34.     ^  ^^ ^^^^^ 
  35. Comment: Above would be the drive/path to your inbound/outbound files directory.
  36.          This command will delete your previous night's export. NOTE: DO NOT 
  37.          use this command the first night you start the import/export with 
  38.          other boards.
  39.  
  40. cd\db\files
  41.    copy *.exp I:\ra\doors\classify
  42.         ^^^^^             
  43.    del *.exp
  44.        ^^^^^
  45.  
  46. Comment: Copy all exported files sent to you into your classified directory, 
  47.          then delete all the exported files. FAILURE to use a unique .exp
  48.          name will result in files over writing and only the last .exp file
  49.          copied will be imported into your database.
  50.  
  51. cd\ra\doors\classify
  52.    clexch IMPEXP classify.cfg
  53.                  ^^^^^^^^^^^^
  54.    copy classify.exp i:\db\files
  55.         ^^^^^^^^^^^^    ^^ ^^^^^
  56.  
  57. Comment: Perform the import/export (IMPEXP) then copy the resulting export file
  58.          from your classify directory to your outbound files directory.
  59.  
  60. cd\db
  61.    dbutil i send 1:114/203 i:\db\files\classify.exp
  62.    ^^^^^^
  63.  
  64. Comment: Send the export file to the other boards. Note above that the command
  65.          used is for D'Bridge...you may substitute the proper command and
  66.          outbound files directory for your front end mailer. You will need to
  67.          do an export for every BBS connected to you.
  68.  
  69.  
  70. This example provided to you courtesy of: Window In Time
  71.                                           1:114/203
  72.                                           602-253-1946
  73.